價格:免費
更新日期:2015-03-27
檔案大小:575k
目前版本:1.0.1
版本需求:Android 4.0 以上版本
官方網站:http://www.cybrotech.com
Email:info@cybrotech.com
聯絡地址:Bohinjska 11 10000 Zagreb, Croatia
CyBro Doorbell is front-end for a home doorbell, realized with CyBro-2 programmable controller. Push button is wired to controller. When pressed, application start ringing, following choices are available: decline, answer or open. When pressed, ringing stops, and response is sent back to controller.
To pop-up the application, CyBro must send the following socket, socket id=1:
bit doorbell_req: request to send socket
int doorbell_event: 1-silent, 2-ring, 3-alarm
int doorbell_source: 0-front door, 1-back door...
Configuration file is located in /Android/data/com.cybrodoorbell/config.xml:
<?xml version="1.0" encoding="ISO-8859-1" standalone="yes"?>
<scada>
<object>
<type>doorbell</type>
<options>7</options> <!-- visible buttons: 1-decline, 2-answer, 4-open -->
<var>c1000.doorbell_ans</var> <!-- feedback: 1-ringing, 2-decline, 3-answer, 4-open -->
<file>front.jpg</file> <!-- image for doorbell_source=0 -->
<file>back.jpg</file> <!-- image for doorbell_source=1 -->
</object>
</scada>
Edit file according to your needs. Tag <options> determines available buttons:
1 - decline
2 - answer
4 - open
For example, when options is 5, decline and open are visible. Tag <var> is used for feedback:
1: ringing started
2: decline pressed
3: answer pressed
4: open pressed
Tag <file> defines images displayed in application, one for each source. Images are located in the same directory as configuration file.
To learn about programming the controller, open CyPro example DoorbellDemo.cyp.
Note: some devices may not respond when in sleep mode. Voice and video streaming is currently not suported.
Cybrotech Ltd. (c) 2015, all rights reserved